Impact analysis: studying function calls

You may want to see where the function

ToggleHeader is called:

Highlight

f ToggleHeader [2] in the Reference view.
Note that the [2] that appears after the function name means that ToggleHeader is called twice in function update .
Choose Context menu > ToggleHeader Referred By.
As you can see in the illustration below, the backward references of ToggleHeader are added to the graph (you may have to resize the Reference view a bit). Remember that you selected only functions, structs, and typedefs in the Xref Filter dialog, so only matching symbols of these types are shown.

| Note
| Try and work with a Depth of 1 wherever possible. Setting a large value for the Depth can lead to huge graphs. This is not very informative and can take a very long time.

Let's now look directly at all references to

ToggleHeader . To do so:

<SHIFT> click on f scrollforw .
The Code view is positioned to the first reference.
<SHIFT> double-click on f scrollforw .
A Source Editor appears, and the first reference is now displayed in it.
Position the Source Editor and the Cross Referencer on your screen so that you can see both.
In the Source Editor, choose Show > Next Match.
The Source Editor is positioned at the next reference, and the node f scrollto is now highlighted in the Cross Referencer.
To visit all locations, repeat the previous step until there are no more matches.